//
//  SEGNewTopicManager.h
//  SEGUhomeSommunitySocial
//
//  Created by 揭婧雯 on 2018/3/28.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SEGTopicListModel.h"
#import "SEGSharedTopicDetailModel.h"
#import "SEGFindQuizListByQuizTypeModel.h"

@interface SEGNewTopicManager : NSObject

///  话题列表
///
///  @param isHot       查询话题列表的时候需要传入该值 0表示最新 1表示最热
///  @param praiseNum   点赞数为多少表示热门，这里为了测试方便暴露給客户端自定义，不传默认为30
- (void)requestpictoriaListByisHot:(NSString*)isHot
                         praiseNum:(NSString*)praiseNum
                            PageNo:(NSInteger)pageNo
                          PageSize:(NSInteger)pageSize
                          Finished:(SEGRequestCallBack)finished;
@property (nonatomic, strong) NSArray<SEGTopicListModel*>* seg_segtopiclistmodel;

/**
 * 获取话题详情
 * @author Wendy
 * @param Id  主键id
 */
- (void)requestTopicDetailWithId:(NSString *)Id
                        finished:(SEGRequestCallBack)finished;
/**
 话题详情信息
 */
@property (nonatomic, strong)SEGSharedTopicDetailModel *topicDetailModel;


/**
 话题评论列表
 */
///  根据业务ID和业务类型获取问题列表
///
///  @param objId    业务ID
///  @param objType  业务类型 1 画报 2 问题 3 评论 4 问题答案 5活动
///  @param pgcType  pgcType 1：文字话题 2：图文话题
///  @param pageNo   当前页码
///  @param pageSize 每页大小，不传默认10条
- (void)requestTopicCommentListByObjId:(NSString*)objId
                                    objType:(NSString*)objType
                                    pgcType:(NSInteger)pgcType
                                     pageNo:(NSInteger)pageNo
                                   pageSize:(NSInteger)pageSize
                                   Finished:(SEGRequestCallBack)finished;

///  帮帮的展示列表
@property (nonatomic, strong) NSArray<SEGFindQuizListByQuizTypeModel*>* topicCommentList;

/*
 聊聊广场-置顶 数据展示源
 */
@property (nonatomic, strong)NSArray<SEGSquareViewModel*> *pgcTopSource;

/*
 聊聊广场 - 热聊 数据展示源
 */
@property (nonatomic, strong)NSArray<SEGSquareViewModel*> *pgcHotTopicSource;
-(void)requestTalkFinished:(SEGNetworkReponse)finished;

-(void)requestTalkHotTopicWithPageNo:(NSInteger)pageNo Finished:(SEGNetworkReponse)finished;
@end
